package com.wyg.epdata.entity.es;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.wyg.epdata.entity.DataResult;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * @Author: WangYongGan
 * @Date: 2022/3/13 2:09
 * @Description:
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class DataResultES extends DataResult {
    @JsonProperty("isreg")
    private boolean isReg;
    @JsonProperty("@version")
    int version;
    @JsonProperty("@timestamp")
    Date timestamp;
}
